package com.jsle.financial.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


public class Node implements Serializable{
	private static final long serialVersionUID = 1821600565630652415L;

	private Log log = LogFactory.getLog(Node.class);
	
	private Integer id;
	private String nodeName;
	private BigDecimal amount;
	private Integer applicantId;
	private Integer assessorId;
	private Integer approveId;
	private String approveResult;
	private Date createTime;
	private Date updateTime;
	private String workflowCode;
	private Integer nodeCode;
	public Node(){
		//todo..
	}
	
	
	public Node(String nodeName, BigDecimal amount, Integer applicantId,
			Integer assessorId, Integer approveId, String approveResult,
			String workflowCode, Integer nodeCode) {
		this.nodeName = nodeName;
		this.amount = amount;
		this.applicantId = applicantId;
		this.assessorId = assessorId;
		this.approveId = approveId;
		this.approveResult = approveResult;
		this.workflowCode = workflowCode;
		this.nodeCode = nodeCode;
	}


	public Node(Integer id, String nodeName, BigDecimal amount,
			Integer applicantId, Integer assessorId, Integer approveId,
			String approveResult, Date createTime, Date updateTime,
			String workflowCode, Integer nodeCode) {
		this.id = id;
		this.nodeName = nodeName;
		this.amount = amount;
		this.applicantId = applicantId;
		this.assessorId = assessorId;
		this.approveId = approveId;
		this.approveResult = approveResult;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.workflowCode = workflowCode;
		this.nodeCode = nodeCode;
	}


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getNodeName() {
		return nodeName;
	}
	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}
	
	
	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getApplicantId() {
		return applicantId;
	}
	public void setApplicantId(Integer applicantId) {
		this.applicantId = applicantId;
	}
	public Integer getAssessorId() {
		return assessorId;
	}
	public void setAssessorId(Integer assessorId) {
		this.assessorId = assessorId;
	}
	public Integer getApproveId() {
		return approveId;
	}
	public void setApproveId(Integer approveId) {
		this.approveId = approveId;
	}
	public String getApproveResult() {
		return approveResult;
	}
	public void setApproveResult(String approveResult) {
		this.approveResult = approveResult;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public String getWorkflowCode() {
		return workflowCode;
	}


	public void setWorkflowCode(String workflowCode) {
		this.workflowCode = workflowCode;
	}


	public Integer getNodeCode() {
		return nodeCode;
	}


	public void setNodeCode(Integer nodeCode) {
		this.nodeCode = nodeCode;
	}

	
	
	
}
